package com.etc.sfts.biz.ipml;

import com.etc.sfts.biz.ManagerBiz;
import com.etc.sfts.dao.ManagerDao;
import com.etc.sfts.entity.Manager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagerBizImpl implements ManagerBiz{
	@Autowired
  private    ManagerDao dao;

	public ManagerDao getDao() {
		return dao;
	}

	public void setDao(ManagerDao dao) {
		this.dao = dao;
	}

	@Override
	public Manager getManagerByNameAndPwd(String name, String pwd) {
		
		return dao.queryManagerByNameAndPwd(name, pwd);
	}

}
